﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../Plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" />
    <link href="../zui/lib/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="../Plugins/pinyin/simple-input-method.css" rel="stylesheet" />
    <link href="../zui/css/font-awesome.min.css" rel="stylesheet" />
    <link href="../zui/css/zui.min.css" rel="stylesheet" />
    <link href="../zui/lib/layer/skin/default/layer.css" rel="stylesheet" />
    <link href="../zui/lib/swiper/css/swiper.min.css" rel="stylesheet" />
    <link href="../Plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <link href="../Plugins/jquery-step/jquery.steps.css" rel="stylesheet" />
    <link href="../zui/css/app.css" rel="stylesheet" />
</head>
<body>
    <form class="form-horizontal" style="width:350px;padding-left:20px;padding-top:20px">
        <fieldset>

            <div class="form-group">
                <label for="exampleInputAccount4" class="col-xs-3">视频路径</label>
                <div class="col-xs-9">
                    <input type="text" style="width:350px" class="form-control numkeyboard" disabled="disabled" value="" id="realName" placeholder=""><button style="float:left;margin-top:10px" class="btn btn-default sxt-btn" type="button">选择地址</button>
                </div>
            </div>

            <div class="form-group">
                <label for="exampleInputAccount4" class="col-xs-12" id="HardSpace" style="text-align:left;color:red"></label>

            </div>
          
        </fieldset>
    </form>

    <script src="../zui/lib/jquery/jquery.js"></script>
    <script src="../Plugins/jquery-ui/jquery-ui.min.js"></script>
    <script src="../zui/lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="../zui/lib/layer/layer.js"></script>
    <script src="../Plugins/sweetalert/sweetalert.min.js"></script>
    <script src="../zui/lib/swiper/js/swiper.min.js"></script>
    <script src="../Plugins/sweetalert/sweetalert.min.js"></script>
    <script src="../Plugins/jquery-step/jquery.steps.min.js"></script>
    <script src="../static/jquery.flot.js"></script>
    <script src="../zui/js/utils.js"></script>
    <script src="../zui/js/app.js"></script>

    <script type="text/javascript">

        $(function () {

            $("#realName").val(sysControl.GetVideoPath());
            $(".sxt-btn").click(function () {
                var selectPath = sysControl.SelectPath();
                if (selectPath != "") {
                    $("#realName").val(selectPath);
                }

            });
            setInterval(function () {

                $("#HardSpace").text("当前选择路径剩余储存空间：" + sysControl.GetHardDiskSpace($("#realName").val()) + "GB");
            }, 1000);


        })
        function getVal() {
            return $("#realName").val();
        }
    </script>
</body>
</html>